package com.yyp.dao;

import java.io.Serializable;
import java.util.List;

public interface BaseDao {
	public void save(Object entity);

	public <T> void delete(Class<T> entity, Serializable names);

	public <T> T find(String sql, String name[]);

	public <T> T find(Class<T> entity, Integer id);

	public void updata(Object entity);

	public <T> List<T> findAll(String sql);
}
